package cn.yuanqiao.cqbc.dataManageTreePath.mapper;
/**
 * @author 赵常飞
 * @date 2024/6/14 15:56
 */


import cn.yuanqiao.cqbc.dataManageTreePath.domain.DataManageTreePath;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *@Author: 赵常飞
 *@Date: 2024/6/14 15:56
 *@Description:
 *@Note:
 */

public interface DataManageTreePathMapper {
    DataManageTreePath selectpath(@Param("dataManageTreePath") DataManageTreePath dataManageTreePath);

    int addPath(@Param("dataManageTreePath")DataManageTreePath dataManageTreePath);

    List<DataManageTreePath> getPath(@Param("dataManageTreePath")DataManageTreePath dataManageTreePath);

    int update(@Param("dataManageTreePath")DataManageTreePath dataManageTreePath);

    int updateAll(@Param("dataManageTreePath")DataManageTreePath dataManageTreePath);

    int finddatabyPathId(@Param("pathId")Long pathId,@Param("tenantCode") String tenantCode);

    int deletePath(@Param("pathId")Long pathId);

    List<Map<String, Object>> getdataList(@Param("sql")String sql);
}
